import request from '@/utils/request'

export function getListAPI(params) {
  return request({
    url: 'api/inventoryLimit/queryLevel',
    method: 'get',
    params
  })
}

// 下载模板
export function downLoadFileAPI(data) {
  return request({
    url: `api/inventoryLimit/exportInventoryLevel?ruleType=${data}`,
    method: 'get',
    responseType: 'blob',
    data
  })
}
